package com.kakavr.recharge.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.kakavr.base.service.BaseService;
import com.kakavr.recharge.dao.IRechargeRuleDao;
@Service
public class RechargeRuleService extends BaseService implements
		IRechargeRuleService {
	@Resource
	private IRechargeRuleDao rechargeRuleDao;

	@Override
	public void addRechargeRule(Map<String, Object> map) {
		rechargeRuleDao.addRechargeRule(map);
	}

	@Override
	public void deleteRechargeRule(Map<String, Object> map) {
		rechargeRuleDao.deleteRechargeRule(map);
	}

	@Override
	public List<Map<String, Object>> selectList(Map<String, Object> map) {
		return rechargeRuleDao.selectList(map);
	}

	@Override
	public Map<String, Object> selectRechargeRule(Map<String, Object> map) {
		return rechargeRuleDao.selectRechargeRule(map);
	}

}
